/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:张熳
 * Date:2025-10-04
 * Time:12:07
 */
public class Card {
    private String suit;//花色
    private int rank;//牌面值

    public Card(String suit,int rank) {
        this.suit = suit;
        this.rank = rank;
    }

    @Override
    public String toString() {
        /*return "Card{" +
                "suit='" + suit + '\'' +
                ", rank=" + rank +
                '}';*/
        return "{" + suit + rank + "}";
    }
}
